#include "RTYPE2ResponseData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator==(const RTYPE2ResponseData& val1,
                                         const RTYPE2ResponseData& val2) {
  FIELD_COMPARE(m_IR2ID)
  FIELD_COMPARE(m_R2ID)
  FIELD_COMPARE_ARR(m_LABEL, 8)
  FIELD_COMPARE(m_EQID)
  FIELD_COMPARE(m_REGION)
  FIELD_COMPARE(m_METHOD)
  FIELD_COMPARE(m_RESPONSE)
  FIELD_COMPARE(m_domainId)
  return true;
}